﻿using System.ComponentModel.DataAnnotations;

namespace ITTestingSystem.Domain.Entities
{
    /// <summary>
    /// Specifies the tests statistic information
    /// </summary>
    /// 
    public class TestsStatistic
    {
        /// <summary>
        /// Unique identifier in the database table
        /// </summary>
        /// 
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// Returns the attempts number for the test
        /// </summary>
        /// 
        [Required]
        public int AttemptsNumber { get; set; }




        /// <summary>
        /// Returns the test that uses this information
        /// </summary>
        /// 
        [Required]
        public virtual Test Test { get; set; }
    }
}
